package com.cskaoyan.market.admin.service;

import com.cskaoyan.market.db.domain.MarketAdmin;

import java.util.List;

public interface MarketAdminAdminService {
    List<MarketAdmin> getList(int page, int limit, String sort, String order, String username);

    MarketAdmin create(String password, String username, Integer[] roleIds);

    MarketAdmin update(String avatar, Integer[] roleIds, String id, String password, String username);

    void delete(String id);
}
